//
//  ZTEidtViewController.h
//  CarTown
//
//  Created by xionghao on 15/9/14.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    ZTNAMETYPE=0,
    ZTPHONETYPE,
    ZTADDRESSTYPE,
    ZTTITLETYPE
}ZTEidtViewType;

@protocol ZTEditViewControllerDelegate <NSObject>

-(void)PostOK:(NSString *)string withtype:(ZTEidtViewType) type;

@end

@interface ZTEidtViewController : UIViewController
@property (nonatomic,assign) ZTEidtViewType type;
@property (nonatomic,copy) NSString *text;

+(instancetype)viewcontroller;
@property (nonatomic,weak) id<ZTEditViewControllerDelegate> delegate;
@end
